package com.mysterymall.Model.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.Instant;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName com.mysterymall.Model.Entity
 * @Description
 * @Author HuangWX
 * @Time 2023/12/18  09:36
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "order_info")
public class OrderInfo extends BaseEntity implements Serializable {

    @TableField(value = "create_user")
    private String createUser;

    @TableField(value = "update_user")
    private String updateUser;

    @TableField(value = "order_code")
    private String orderCode;

    @TableField(value = "payment_money_code")
    private String paymentMoneyCode;

    @TableField(value = "goods_type")
    private String goodsType;

    @TableField(value = "order_status")
    private String orderStatus;

    @TableField(value = "pattern_of_payment")
    private String patternOfPayment;

    @TableField(value = "goods_original_price")
    private BigDecimal goodsOriginalPrice;

    @TableField(value = "discounts_amount")
    private BigDecimal discountsAmount;

    @TableField(value = "goods_amount")
    private BigDecimal goodsAmount;

    @TableField(value = "logistics_company")
    private String logisticsCompany;

    @TableField(value = "delivery_time")
    private Instant deliveryTime;

    @TableField(value = "logistics_code")
    private String logisticsCode;

    @TableField(value = "goods_quantity")
    private Integer goodsQuantity;

    private static final long serialVersionUID = 1L;
}